<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="ui" uri="http://com.am.tag"%>
<%@ include file="../common.jsp" %>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
  <head>
  
    <title>My JSP 'doctor.jsp' starting page</title>
    <link rel="stylesheet" href="${path }/css/easyui.css" type="text/css"></link>
	<script type="text/javascript" src="${path }/js/jquery.easyui.min.js"></script>
	<link type="text/css" rel="stylesheet" href="${path }/css/showtable.css"/>
     
     <style type="text/css">
		body{
			overflow-x: hidden;
			overflow-y: auto;
		}
		.top{
			width:99%;
			float:left;
			margin-top:10px;
			margin-left:5px;
			margin-right:10px;
		}
		.sub_top{
			padding-right:30px;
			float:left;
			font-size:14px;
		}
		.left_main{
			width: 75%;
			float:left;
		}
		.right_main{
			float: right;
		}
		.main_div{
			width: 100%;
			margin-left:10px;
			margin-top:5px;
		}
		.remind_main{
			background-color:#CAEDEB;
		}

		.item {
			text-align:left;
		}
		.study_table{
			width:100%;
			height:150px;
			border-left: 1px solid #DEDEDE;
			border-bottom: 1px solid #DEDEDE;
			border-right: 1px solid #DEDEDE;
		}
		.title_bg{
			background-color: #CAEDEB;
		}
		.study_table th, .study_table td{
			border-left: 1px solid #DEDEDE;
			border-bottom: 1px solid #DEDEDE;
			border-right: 1px solid #DEDEDE;
		}
		.oper{
			text-decoration:none;
			color:#3399CC;
		}
		.oper:hover{
			text-decoration:underline;
		}
		.moreCls{
			text-decoration:none;
			color:#F0B05B;
			font-size: 11;
		}
		.tip_div{
			
			color: white; 
			font-weight: bold;
			background-color: #60CCB1;
			border: 1px solid #B6CBDD;
		}
		.tip_item{
			width: 28px;
			height: 25px;
			display:inline;
		}
		.tip1{
			background: url(${path }/images/tip_bg.png) -28 0;
		}
		.tip2{
			background: url(${path }/images/tip_bg.png) -57 0;
		}
		.tip3{
			background: url(${path }/images/tip_bg.png) -57 0;
		}
		.tip4{
			background: url(${path }/images/tip_bg.png) -87 0;
		}
		.tip5{
			background: url(${path }/images/tip_bg.png) -2 0;
		}

		#remindDiv {
	    	overflow: auto;
		}
		#remindDiv2 {
	    	height: 300px;
	  	  overflow: auto;
		}
		#remindDiv ul{
			margin-top:10px;
			margin-bottom:30px;
		}
		#remindDiv ul li {
	   	 border-bottom: 1px dotted #BBBBBB;
	   	 margin-left:-10px;
	   	 margin-top:5px;
		}
		font{
			font-weight:bold;
			font-size:13px;
		}
	
		.count_table{
			width: 100%;
		}
		.count_td{
			background-color: #CAEDEB;
			border-top: 2px solid white;
			font-size: 12px;
			color: #666666;
		}
		.border_right{
			border-right: 2px solid white;
		}
		.tipCls{
			font-family: "微软雅黑", Verdana, Arial, Helvetica, sans-serif;
			font-size: 15px;
			color: #ff0033;
		}
	</style>
     <script type="text/javascript">
       function modifyData()
  		{
  			openDailog("view","${path}/jsp/doctor/modifyingData.jsp?name="+$('#name').val()+"&name3="+$('#name3').val()+"&name2="+$('#name2').val(),550,260,"修改资料",false,true,null,function(dlg){
  				
  				dlg.getIFrame().doSave();
  			});
  		}
  		
  		 function checkRecord()
  		{
  			openDailog("view","${path}/jsp/doctor/checkRecord.jsp",350,300,"修改资料",false,true,null,function(dlg){
  				
  				dlg.getIFrame().doSave();
  			});
  		}
  		function prescription(){
  			window.open("about:blank","").location.href = "${path}/jsp/doctor/prescription.jsp";
  		}
  		
  		 									      										      
  </script>
  
  <body style="overflow-x: hidden;overflow-y:hidden;">
   		
   		<table cellSpacing="0" cellPadding="0" style="width:100%;height:100%;" border="0">
  			<tr>
				<td class="windowTitle" colspan="2">医生工作站  &gt; 领用物品</td>
			</tr>
			
	  		<tr id="">
	  			<td style="height:35px;width:100%" class="windowHead">	
		  			<form id="queryForm">
						<table cellSpacing="0" cellPadding="0" width="100%" height="100%" border="0" >
							<tr>
								<td class="mywindowTitle">
									药名：<input name="value" id="value" class="textbox" style="width: 220px" />&nbsp;&nbsp;&nbsp;&nbsp;
									<ui:Button type="query" onclick="doQuery()">查询</ui:Button>&nbsp;&nbsp;&nbsp;&nbsp;
									<ui:Button type="export" onclick="doUse()">领用</ui:Button>
								</td>
							</tr>
						</table>
					</form>
					<br/>
					<a style="text-decoration: none;"></a>
				</td>
			</tr>
		
		<tr>
			<td style="width:100%;height:100%;overflow:hidden"  class="windowBody">
				<div id="mess_box" style="width:100%;height:100%;overflow:hidden">
					<ui:Grid id="mygrid" css="width:100%;height:100%"
				    		 onCellClicked="selectedSingleRow2"
				    		 dataProvider="com.system.provider.UserListProvider:getData" >
				    	<ui:GridField name="id" header="ID" isChecked="true" align="center"/>
				    	<ui:GridField name="name" header="药品名称" align="center" width="20%"/>
				    	<ui:GridField name="oprt" header="生产厂商" align="center" width="22%"/>
				    	<ui:GridField name="sex" header="规格" align="center" width="10%"/>
				    	<ui:GridField name="telephone" header="整散比" align="center" width="10%"/>
				    	<ui:GridField name="telephone" header="批发价" align="center" width="10%"/>
				    	<ui:GridField name="telephone" header="售价" align="center" width="10%"/>
				    	<ui:GridField name="email" header="库存" align="center" width="15%"/>
			    	</ui:Grid>
		    	</div>
		    </td>
		</tr>
  	</table>
  </body>
  
   
</html>
